package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 实验室光谱检测熔炼质检结果对象 tb_detection_rl
 *
 * @author ruoyi
 * @date 2025-02-13
 */
public class TbDetectionRl extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 业务主键ID */
    private Long id;

    /** 车间代号 */
    @Excel(name = "车间代号")
    private String plant;

    /** 造型线 */
    @Excel(name = "造型线")
    private String lineNum;

    /** 计划号 */
    @Excel(name = "计划号")
    private String planNum;

    /** 炉号 */
    @Excel(name = "炉号")
    private String furnaceNum;

    /** 熔炼炉次号 */
    @Excel(name = "熔炼炉次号")
    private String meltNum;

    /** 球化包次号 */
    @Excel(name = "球化包次号")
    private String packNum;

    /** 质检类型 */
    @Excel(name = "质检类型")
    private String zjlx;

    /** 是否合格（1是，0否） */
    @Excel(name = "是否合格", readConverterExp = "1=是，0否")
    private String qual;

    /** 文件名 */
    @Excel(name = "文件名")
    private String filename;

    /** 质检记录信息 */
    @Excel(name = "质检记录信息")
    private String allRecord;

    /** 录入炉号 */
    @Excel(name = "录入炉号")
    private String furnacePlant;

    /** 牌号规范 */
    @Excel(name = "牌号规范")
    private String mark;

    /** 牌号ID */
    @Excel(name = "牌号ID")
    private String markId;

    /** 唯一名称 */
    @Excel(name = "唯一名称")
    private String only;

    /** 类型标样 */
    @Excel(name = "类型标样")
    private String type;

    /** CE值 */
    @Excel(name = "CE值")
    private BigDecimal ceValue;

    /** c */
    @Excel(name = "c")
    private BigDecimal c;

    /** Si */
    @Excel(name = "Si")
    private BigDecimal si;

    /** Mn */
    @Excel(name = "Mn")
    private BigDecimal mn;

    /** p */
    @Excel(name = "p")
    private BigDecimal p;

    /** s */
    @Excel(name = "s")
    private BigDecimal s;

    /** Cr */
    @Excel(name = "Cr")
    private BigDecimal cr;

    /** mo */
    @Excel(name = "mo")
    private BigDecimal mo;

    /** ni */
    @Excel(name = "ni")
    private BigDecimal ni;

    /** ai */
    @Excel(name = "ai")
    private BigDecimal ai;

    /** co */
    @Excel(name = "co")
    private BigDecimal co;

    /** cu */
    @Excel(name = "cu")
    private BigDecimal cu;

    /** nb */
    @Excel(name = "nb")
    private BigDecimal nb;

    /** ti */
    @Excel(name = "ti")
    private BigDecimal ti;

    /** v */
    @Excel(name = "v")
    private BigDecimal v;

    /** w */
    @Excel(name = "w")
    private BigDecimal w;

    /** pb */
    @Excel(name = "pb")
    private BigDecimal pb;

    /** sn */
    @Excel(name = "sn")
    private BigDecimal sn;

    /** mg */
    @Excel(name = "mg")
    private BigDecimal mg;

    /** as */
    @Excel(name = "as")
    private BigDecimal asys;

    /** zr */
    @Excel(name = "zr")
    private BigDecimal zr;

    /** bi */
    @Excel(name = "bi")
    private BigDecimal bi;

    /** ce */
    @Excel(name = "ce")
    private BigDecimal ce;

    /** sb */
    @Excel(name = "sb")
    private BigDecimal sb;

    /** se */
    @Excel(name = "se")
    private BigDecimal se;

    /** te */
    @Excel(name = "te")
    private BigDecimal te;

    /** b */
    @Excel(name = "b")
    private BigDecimal b;

    /** zn */
    @Excel(name = "zn")
    private BigDecimal zn;

    /** la */
    @Excel(name = "la")
    private BigDecimal la;

    /** fe */
    @Excel(name = "fe")
    private BigDecimal fe;

    /** re */
    @Excel(name = "re")
    private BigDecimal re;

    /** 是否匹配 1表示匹配，2表示未匹配 */
    @Excel(name = "是否匹配 1表示匹配，2表示未匹配")
    private Long matched;

    /** 班别 */
    @Excel(name = "班别")
    private String bClass;

    /** 状态 1未读，2已读 */
    @Excel(name = "状态 1未读，2已读")
    private Integer state;

    /** 质检人 */
    @Excel(name = "质检人")
    private String inspector;

    /** 入库时间存入表里的时间 */
    @Excel(name = "入库时间存入表里的时间")
    private Date storageTime;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setPlant(String plant)
    {
        this.plant = plant;
    }

    public String getPlant()
    {
        return plant;
    }
    public void setLineNum(String lineNum)
    {
        this.lineNum = lineNum;
    }

    public String getLineNum()
    {
        return lineNum;
    }
    public void setPlanNum(String planNum)
    {
        this.planNum = planNum;
    }

    public String getPlanNum()
    {
        return planNum;
    }
    public void setFurnaceNum(String furnaceNum)
    {
        this.furnaceNum = furnaceNum;
    }

    public String getFurnaceNum()
    {
        return furnaceNum;
    }
    public void setMeltNum(String meltNum)
    {
        this.meltNum = meltNum;
    }

    public String getMeltNum()
    {
        return meltNum;
    }
    public void setPackNum(String packNum)
    {
        this.packNum = packNum;
    }

    public String getPackNum()
    {
        return packNum;
    }
    public void setZjlx(String zjlx)
    {
        this.zjlx = zjlx;
    }

    public String getZjlx()
    {
        return zjlx;
    }
    public void setQual(String qual)
    {
        this.qual = qual;
    }

    public String getQual()
    {
        return qual;
    }
    public void setFilename(String filename)
    {
        this.filename = filename;
    }

    public String getFilename()
    {
        return filename;
    }
    public void setAllRecord(String allRecord)
    {
        this.allRecord = allRecord;
    }

    public String getAllRecord()
    {
        return allRecord;
    }
    public void setFurnacePlant(String furnacePlant)
    {
        this.furnacePlant = furnacePlant;
    }

    public String getFurnacePlant()
    {
        return furnacePlant;
    }
    public void setMark(String mark)
    {
        this.mark = mark;
    }

    public String getMark()
    {
        return mark;
    }
    public void setMarkId(String markId)
    {
        this.markId = markId;
    }

    public String getMarkId()
    {
        return markId;
    }
    public void setOnly(String only)
    {
        this.only = only;
    }

    public String getOnly()
    {
        return only;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setCeValue(BigDecimal ceValue)
    {
        this.ceValue = ceValue;
    }

    public BigDecimal getCeValue()
    {
        return ceValue;
    }
    public void setC(BigDecimal c)
    {
        this.c = c;
    }

    public BigDecimal getC()
    {
        return c;
    }
    public void setSi(BigDecimal si)
    {
        this.si = si;
    }

    public BigDecimal getSi()
    {
        return si;
    }
    public void setMn(BigDecimal mn)
    {
        this.mn = mn;
    }

    public BigDecimal getMn()
    {
        return mn;
    }
    public void setP(BigDecimal p)
    {
        this.p = p;
    }

    public BigDecimal getP()
    {
        return p;
    }
    public void setS(BigDecimal s)
    {
        this.s = s;
    }

    public BigDecimal getS()
    {
        return s;
    }
    public void setCr(BigDecimal cr)
    {
        this.cr = cr;
    }

    public BigDecimal getCr()
    {
        return cr;
    }
    public void setMo(BigDecimal mo)
    {
        this.mo = mo;
    }

    public BigDecimal getMo()
    {
        return mo;
    }
    public void setNi(BigDecimal ni)
    {
        this.ni = ni;
    }

    public BigDecimal getNi()
    {
        return ni;
    }
    public void setAi(BigDecimal ai)
    {
        this.ai = ai;
    }

    public BigDecimal getAi()
    {
        return ai;
    }
    public void setCo(BigDecimal co)
    {
        this.co = co;
    }

    public BigDecimal getCo()
    {
        return co;
    }
    public void setCu(BigDecimal cu)
    {
        this.cu = cu;
    }

    public BigDecimal getCu()
    {
        return cu;
    }
    public void setNb(BigDecimal nb)
    {
        this.nb = nb;
    }

    public BigDecimal getNb()
    {
        return nb;
    }
    public void setTi(BigDecimal ti)
    {
        this.ti = ti;
    }

    public BigDecimal getTi()
    {
        return ti;
    }
    public void setV(BigDecimal v)
    {
        this.v = v;
    }

    public BigDecimal getV()
    {
        return v;
    }
    public void setW(BigDecimal w)
    {
        this.w = w;
    }

    public BigDecimal getW()
    {
        return w;
    }
    public void setPb(BigDecimal pb)
    {
        this.pb = pb;
    }

    public BigDecimal getPb()
    {
        return pb;
    }
    public void setSn(BigDecimal sn)
    {
        this.sn = sn;
    }

    public BigDecimal getSn()
    {
        return sn;
    }
    public void setMg(BigDecimal mg)
    {
        this.mg = mg;
    }

    public BigDecimal getMg()
    {
        return mg;
    }
    public void setAsys(BigDecimal asys)
    {
        this.asys = asys;
    }

    public BigDecimal getAsys()
    {
        return asys;
    }
    public void setZr(BigDecimal zr)
    {
        this.zr = zr;
    }

    public BigDecimal getZr()
    {
        return zr;
    }
    public void setBi(BigDecimal bi)
    {
        this.bi = bi;
    }

    public BigDecimal getBi()
    {
        return bi;
    }
    public void setCe(BigDecimal ce)
    {
        this.ce = ce;
    }

    public BigDecimal getCe()
    {
        return ce;
    }
    public void setSb(BigDecimal sb)
    {
        this.sb = sb;
    }

    public BigDecimal getSb()
    {
        return sb;
    }
    public void setSe(BigDecimal se)
    {
        this.se = se;
    }

    public BigDecimal getSe()
    {
        return se;
    }
    public void setTe(BigDecimal te)
    {
        this.te = te;
    }

    public BigDecimal getTe()
    {
        return te;
    }
    public void setB(BigDecimal b)
    {
        this.b = b;
    }

    public BigDecimal getB()
    {
        return b;
    }
    public void setZn(BigDecimal zn)
    {
        this.zn = zn;
    }

    public BigDecimal getZn()
    {
        return zn;
    }
    public void setLa(BigDecimal la)
    {
        this.la = la;
    }

    public BigDecimal getLa()
    {
        return la;
    }
    public void setFe(BigDecimal fe)
    {
        this.fe = fe;
    }

    public BigDecimal getFe()
    {
        return fe;
    }
    public void setRe(BigDecimal re)
    {
        this.re = re;
    }

    public BigDecimal getRe()
    {
        return re;
    }
    public void setMatched(Long matched)
    {
        this.matched = matched;
    }

    public Long getMatched()
    {
        return matched;
    }
    public void setbClass(String bClass)
    {
        this.bClass = bClass;
    }

    public String getbClass()
    {
        return bClass;
    }
    public void setState(Integer state)
    {
        this.state = state;
    }

    public Integer getState()
    {
        return state;
    }
    public void setInspector(String inspector)
    {
        this.inspector = inspector;
    }

    public String getInspector()
    {
        return inspector;
    }
    public void setStorageTime(Date storageTime)
    {
        this.storageTime = storageTime;
    }

    public Date getStorageTime()
    {
        return storageTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("plant", getPlant())
            .append("lineNum", getLineNum())
            .append("planNum", getPlanNum())
            .append("furnaceNum", getFurnaceNum())
            .append("meltNum", getMeltNum())
            .append("packNum", getPackNum())
            .append("zjlx", getZjlx())
            .append("qual", getQual())
            .append("filename", getFilename())
            .append("allRecord", getAllRecord())
            .append("furnacePlant", getFurnacePlant())
            .append("mark", getMark())
            .append("markId", getMarkId())
            .append("only", getOnly())
            .append("type", getType())
            .append("ceValue", getCeValue())
            .append("c", getC())
            .append("si", getSi())
            .append("mn", getMn())
            .append("p", getP())
            .append("s", getS())
            .append("cr", getCr())
            .append("mo", getMo())
            .append("ni", getNi())
            .append("ai", getAi())
            .append("co", getCo())
            .append("cu", getCu())
            .append("nb", getNb())
            .append("ti", getTi())
            .append("v", getV())
            .append("w", getW())
            .append("pb", getPb())
            .append("sn", getSn())
            .append("mg", getMg())
            .append("asys", getAsys())
            .append("zr", getZr())
            .append("bi", getBi())
            .append("ce", getCe())
            .append("sb", getSb())
            .append("se", getSe())
            .append("te", getTe())
            .append("b", getB())
            .append("zn", getZn())
            .append("la", getLa())
            .append("fe", getFe())
            .append("re", getRe())
            .append("matched", getMatched())
            .append("bClass", getbClass())
            .append("remark", getRemark())
            .append("state", getState())
            .append("inspector", getInspector())
            .append("createTime", getCreateTime())
            .append("storageTime", getStorageTime())
            .toString();
    }
}
